<?php
/* @var $this StatusController */
/* @var $model Status */

$this->breadcrumbs=array(
	'Statuses'=>array('index'),
	$model->status_id,
);
?>

<h1>View Status #<?php echo $model->status_id; ?></h1>

<?php $this->widget('zii.widgets.CDetailView', array(
	'data'=>$model,
	'attributes'=>array(
		'status_id',
		//'customer_id',
		array('name'=>'customer_id','value'=>PotentialCustomers::model()->getCustomersFirstLastName($model->customer_id)),
		//'campaign_id',
				array('name'=>'campaign_id','value'=>Campaign::model()->getCampaignName($model->campaign_id)),
		//'agent_id',
		array('name'=>'agent_id','value'=>User::model()->getUserName($model->agent_id)),
		//'status',
		array('name'=>'status','value'=>Status::model()->getStatusName($model->status)),
		'callback_date_and_time',
		'last_called_date_and_time',
		'notes',
		'follow_up',
		'sign_up_date',
		'contract_expire_date',
		'package',
		'followup_statusid',
	),
)); ?>
